// 公共CSS样式
// 引入scss工具
// @import 'tools';
// @import "./node_modules/mixins-sass/src/mixins";
// 清除默认样式
// * {
//     // iOS滑动效果
//     -webkit-overflow-scrolling: touch;
//     padding: 0;
//     margin: 0;
// }
ul,
p {
  list-style: none;
  list-style-type: none;
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  -webkit-padding-start: 0px;
}

select {
  -webkit-appearance: none;
  -webkit-tap-highlight-color: #fff;
  outline: 0;
  color: #333;
  border: none;
}

//去除图片白边
img {
  vertical-align: middle;
}

html {
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  height: 100%;
  font-size: 16px;
}

body {
  height: 100%;
  margin: auto 0;
  background-color: #F5F5F5;
  font-family: '微软雅黑';
}

input,
button,
select,
textarea {
  //  去除边框光影
  outline: none;
  border: none;
  font-size: .14rem;
}

textarea {
  resize: none;
}

.full {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/*颜色*/

.bgfff,
.fff {
  background: #fff;
}

.c000 {
  color: #000;
}

.cfff {
  color: #fff;
}

.c82 {
  color: #c1c1c1;
}

.c81 {
  color: #8f9092;
}

.bgmain {
  background: #0082fc;
}

.cred {
  color: #e12825;
}

.bgred {
  background: #e12825;
}

.bgf4 {
  background: #f7ba83;
}

.bgf5 {
  background: #f5f5f5;
}

/*自动隐藏文字*/

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ellipsis-1 {
  @include textLine();
}

.ellipsis-2 {
  @include textLine(2);
}

input {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  line-height: normal;
  border: none;
}

/*修改input placeholder 的字体样式*/

::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: #c1c1c1;
}

/*文字类*/

.text-l {
  text-align: left;
}

.text-c {
  text-align: center;
}

.text-j {
  text-align: justify;
}

.text-r {
  text-align: right;
}

.text-remove {
  text-decoration: line-through;
}

.text-none {
  text-decoration: none;
}

/*位置*/

.position-r {
  position: relative;
}

.position-a {
  position: absolute;
}

.position-f {
  position: fixed;
  max-width: 750px !important;
  left: auto !important;
}

.f-l {
  float: left;
}

.f-r {
  float: right;
}

.dis-ib {
  display: inline-block;
}

.show,
.dis-b {
  display: block;
}

.hide,
.dis-n {
  display: none;
}

.hidden {
  display: none !important;
}

.font-w {
  font-weight: bold;
}

/*背景图*/

.img-bg {
  background: #bbb no-repeat center center / cover;
}

/*正方形*/

.shape-z {
  width: 100%;
  padding-bottom: 100% !important;
}

.of-h {
  overflow: hidden;
}

/*边框样式*/

.box-sizing {
  box-sizing: border-box;
}

.border-n {
  border: none;
}

.bor-r {
  border-radius: .05rem;
}

/*1px边框处理*/

.border-b,
.border-t,
.border-l,
.border-r {
  position: relative;
}

.border-b::after {
  @include border-b();
}

.border-t::before {
  @include border-t();
}

.border-r::before {
  @include border-r();
}

.border-l::after {
  @include border-l();
}

/*flex 布局*/

.flex-col,
.flex-row {
  display: flex;
}

.flex-col {
  flex-direction: row;
}

.flex-row {
  flex-direction: column;
}


/*流式布局*/

.flex-parent {
  width: auto;
  height: auto;
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
}

.flex-child {
  box-sizing: border-box;
  flex: 0 0 25%;
}

/*对齐*/

.flex-col.flex-left {
  justify-content: flex-start;
}

.flex-col.flex-right {
  justify-content: flex-end;
}

.flex-col.flex-top {
  align-items: flex-start;
}

.flex-col.flex-bottom {
  align-items: flex-end;
}

.flex-col.flex-center {
  justify-content: center;
}

.flex-col.flex-middle {
  align-items: center;
}

.flex-row.flex-left {
  align-items: flex-start;
}

.flex-row.flex-right {
  align-items: flex-end;
}

.flex-row.flex-top {
  justify-content: flex-start;
}

.flex-row.flex-bottom {
  justify-content: flex-end;
}

.flex-row.flex-center {
  align-items: center;
}

.flex-row.flex-middle {
  justify-content: center;
}

.box-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}

.box-middle {
  display: flex;
  align-items: center;
  justify-content: center
}

.wrap {
  flex-wrap: wrap;
}

.box-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center
}

.box-base {
  display: flex;
  flex-direction: row;
  align-content: baseline;
}

.box-space {
  display: flex;
  justify-content: space-between;
}

// footer
.footer {
  padding-top: .66rem;
  div {
    width: 80%;
    height: .45rem;
    background: #e12825;
    border-radius: .05rem;
  }
}

.border-ll:after {
  @include border-l(#e12825);
  left: -1px;
  top: 20%;
  height: 60%;
}

.interval {
  height: .1rem;
  background: #f5f5f5;
}

.imgfont {
  position: relative;
  top: -.01rem;
  width: .16rem;
}

.iconfont.icon-mima1 {
  position: relative;
  left: -.03rem;
  margin-right: .04rem;
}

footer .full .full {
  height: .5rem;
}

// 底部筛选
.make_slots {
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end; //   .make_box{
  //       position: fixed;
  //       bottom: 0;
  //   }
  .tit {
    height: 0.5rem;
    line-height: 0.5rem;
  }
  .picker {
    background: #eee;
  }
}

/* 修改input radio的样式 */

input[type="radio"] {
  vertical-align: middle;
  appearance: none;
  /*清楚默认样式*/
  width: 0.18rem;
  height: 0.18rem;
  position: relative;
  top: -0.02rem;
  background: url("./image/arrows_unselected_default.png") no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
}

input[type="radio"]:focus {
  outline: none;
}

input[type="radio"]:checked {
  appearance: none;
  /*清楚默认样式*/
  background: url("./image/arrows_check_default.png") no-repeat;
  background-size: 100% 100%;
}

/* mint ui 时间选择 样式修改*/

.picker-item {
  color: #ddd;
}

.picker-selected {
  background: #ccc;
}

// alert 样式修改
.mint-msgbox {
  width: 65%;
  background: #fff;
  border-radius: .05rem;
  .mint-msgbox-header {
    // display: none;
  }
  .mint-msgbox-header {
    padding-top: .2rem;
  }
  .mint-msgbox-content {
    padding: .25rem .2rem;
    position: relative;
    border: none;
    .mint-msgbox-input{
      // box-sizing: border-box;
      .input{
        background: #000;
        // height: .35rem;
        // padding: .05rem .15rem;
      }
    }
    .mint-msgbox-message {
      // color: #000;
      line-height: .2rem;
    }
    &::after {
      @include border-b();
      bottom: 0px;
    }
  }
  .mint-msgbox-btns {
    height: .45rem;
    .mint-msgbox-cancel {
      border: none;
      position: relative;
      &::before {
        @include border-r();
      }
    }
  }
}



// 修改报备时间样式(楼盘详情隐藏分钟选项)
.mint-datetime {
  .picker-slot:nth-child(5) {
    display: none;
  }
}
